Click or drag to resize
FileCopy Method (String, String, Boolean)
Copies an existing file to a new file. Overwriting a file of the same name is allowed.

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 8.2.23
Syntax
C#
public static void Copy(
	string sourceFileName,
	string destFileName,
	bool overwrite
)

Parameters

sourceFileName
Type: SystemString
Path to source file
destFileName
Type: SystemString
Path to destination file
overwrite
Type: SystemBoolean
If destination file should be overwritten
See Also