CopyTo Method

FileInfo.CopyTo Method

 

Copies an existing file to a new file.

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodCopyTo(String)

Copies an existing file to a new file, disallowing the overwriting of an existing file.

System_CAPS_pubmethodCopyTo(String, Boolean)

Copies an existing file to a new file, allowing the overwriting of an existing file.

Return to top
Show:
© 2016 Microsoft