This documentation is archived and is not being maintained.

FileInfo.CopyTo Method

Copies an existing file to a new file.

Name Description
FileInfo.CopyTo (String) Copies an existing file to a new file, disallowing the overwriting of an existing file.

Supported by the .NET Compact Framework.

FileInfo.CopyTo (String, Boolean) Copies an existing file to a new file, allowing the overwriting of an existing file.

Supported by the .NET Compact Framework.

Show: