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.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework CopyTo(String) Copies an existing file to a new file, disallowing the overwriting of an existing file.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework CopyTo(String, Boolean) Copies an existing file to a new file, allowing the overwriting of an existing file.
Top

Community Additions

Show:
© 2018 Microsoft