(PHP 4, PHP 5, PHP 7)
Copies file
bool copy ( string $source, string $dest [, resource $context ] )
Makes a copy of the file source to dest.
If you wish to move a file, use the rename() function.
Parameters:
source
Path to the source file.
dest
The destination path. If dest is a URL, the copy operation may fail if the wrapper does not