// Will copy foo/test.php to bar/test.php // overwritting it if necessary copy('foo/test.php', 'bar/test.php');
<? copy('userFile_22343.jpg', './parent_files/userFile_22343.jpg') ?>