Madam,
I am not sure if this is the solution to your problem. If not give more insight into the issue and the error message.
But a typical way to upload is to avoid copy commands, as you will require to create a directory with complete permissions, this is hazadous. But if you are looking at this, then you will need to specify the syntax as below:
copy($file_from_form, "path_to_dir".$file_from_form_name);
// please note that $file_from_form_name is set by php with the file name.
But as an advice, I always ftp the file to the secure ftp server with the following directory access level.
<FTP_ROOT>
<INCOMING> <OUTGOING>
rw- -w- -w- rw- r-- r--
I have CGI Php's running to move the scripts periodically from incoming to outgoing for downloads.
I hope this helped you.