Anyone know why this:
You are specifying to move a file to a directory; neither PHP's move_uploaded_file
nor its copy
is as smart as a shell's copy -- you have to specify a filename, not a directory, for the destination.
So, one simple solution would be to take the basename of the source file and append that to the destination directory.