Click or drag to resize
FileInfoCopyTo Method (String, Boolean)
Copies an existing file to a new file, allowing the overwriting of an existing file.

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

Parameters

destFileName
Type: SystemString
Destination file name
overwrite
Type: SystemBoolean
Whether overwriting is allowed

Return Value

Type: FileInfo
See Also