Export (0) Print
Expand All

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.

  Name Description
Public method CopyTo(String) Copies an existing file to a new file, disallowing the overwriting of an existing file.
Public method CopyTo(String, Boolean) Copies an existing file to a new file, allowing the overwriting of an existing file.
Top
Show:
© 2014 Microsoft