Click or drag to resize
FileInfoCopyTo Method (String, Boolean)
Copies current file to destination.

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 10.0.0
Syntax
C#
public FileInfo CopyTo(
	string destFileName,
	bool overwrite
)

Parameters

destFileName
Type: SystemString
Destination file name.
overwrite
Type: SystemBoolean
Indicates if existing file should be overwritten

Return Value

Type: FileInfo
See Also