VFile.Copy Method
Namespace: Rebex.IO
Assembly: Rebex.FileSystem.dll (version 7.0.9313)
Copy(String, String)
Method copies a file identified by the sourceFileName to the location denoted by the destFileName.
Declaration
public static void Copy(string sourceFileName, string destFileName)
Parameters
| Type | Name | Description | 
|---|---|---|
| String | sourceFileName | The path of the source file.  | 
    
| String | destFileName | The final path of the (copied) file.  | 
    
Copy(String, String, Boolean)
Method copies a file identified by the sourceFileName to the location denoted by the destFileName.
Declaration
public static void Copy(string sourceFileName, string destFileName, bool overwrite)
Parameters
| Type | Name | Description | 
|---|---|---|
| String | sourceFileName | The path of the source file.  | 
    
| String | destFileName | The final path of the (copied) file.  | 
    
| Boolean | overwrite | When the overwrite is set to to true and   |