move_uploaded_file is reccommended in the manual for a couple of important reasons.

1) it will only effect a file that has been uploaded by php and is accessible in the $_FILES array.
2) it moves it rather than creates a duplicate, moves that, terminates script and then deletes the unmoved temp version.

Always always always use move_uploaded_file if you are dealing with form uploaded files.

To get your script working - you need a comma in the parenthesised call to seperate the parameters. You also need to designate $uploadfile as a file rather than a directory - not easy to move a file and somehow make it a directory during the move.