| ZennoLab.Macros Assembly > ZennoLab.Macros Namespace > FileSystem Class : FileCopy Method |
Type: System.String
Path to the existing file.
Type: System.String
Path to the new file.
Type: System.String
Path to the existing file.
Type: System.String
Path to the new file.
string oldPath = {pathToExistingFile}; string newPath = {pathToNewFile}; FileSystem.FileCopy(oldPath, newPath);
$oldPath = {pathToExistingFile}; $newPath = {pathToNewFile}; FileSystem::FileCopy($oldPath, $newPath);
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven