Copy File
suggest changeFile static class
The static File class copies a file in one call.
File.Copy(@"sourcePath\abc.txt", @"destinationPath\abc.txt");
File.Copy(@"sourcePath\abc.txt", @"destinationPath\xyz.txt");
Remark: File.Copy reads the source and writes it to the destination. The time grows with the file size, and the call blocks the thread until the copy finishes.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents