PHP copy


copy(file1,file2) copies file1 to another location as file2. If it's successful, return true, otherwise false.

<?PHP
	$file1="C:\Windows\win.ini";
	$file2="C:\win.ini";
	copy($file1,$file2);
?>