Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft