Method Copy
Copy(FileInfo, FileInfo)
Copy one file's contents to another file. The target will be overwritten if it exists. The source must exist.
Declaration
public static void Copy(FileInfo source, FileInfo target)
Parameters
Type | Name | Description |
---|---|---|
FileInfo | source | |
FileInfo | target |