Copying and Renaming files can be done directly through PHP
Code:
<?php
$source = "/path/to/filea";
$destination = "/path/to/new/filea";
if( copy($source, $destination) )
{ mesg = "Copied $source to $destination<br/>"; }
else
{ mesg = "Failed to copy $source to $destination<br/>";}
?>
<html><head><title>Testing...</title></head>
<body>
<?php echo($mesg); ?>
</body>
</html>
To rename use the command
rename in place of
copy