$source = "C:\\Apache\\logs\\error.log"; $dest = "C:\\error.bak"; if( copy( $source, $dest ) ) { $msg = "Copied $sourceto $dest"; } else { $msg = "Unable to copy $source"; }?> Copying files