FileInfoExtensionsCopyTo Method

Overload List

CopyTo(FileInfo, DirectoryInfo) Copies the source file to the specified directory.

If the target file already exists, an IOException is thrown.

CopyTo(FileInfo, DirectoryInfo, Boolean) Copies the source file to the specified directory.

See Also