I want to copy a file from A to B in C#. How do I do that?
A:
Use the FileInfo class.
FileInfo fi = new FileInfo("a.txt");
fi.CopyTo("b.txt");
Eric Z Beard
2008-08-21 13:45:44