public static function copy($file, $target) { if (!file_exists($file) || file_exists($target)) { return false; } return @copy($file, $target); }