functioncopyfiles($file1,$file2){
$contentx=@file_get_contents($file1);
$openedfile=fopen($file2,"w");
fwrite($openedfile,$contentx);
fclose($openedfile);
if($contentx===FALSE){
$status=false;
}else$status=true;
return$status;
}
?>