Copies the file to the given path and overwrites any existing file if specified.

Namespace: Composite.Core.IO.Plugins.IOProvider
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
C1FileInfo CopyTo(
	string destFileName,
	bool overwrite
)
Visual Basic
Function CopyTo ( _
	destFileName As String, _
	overwrite As Boolean _
) As C1FileInfo
Visual C++
C1FileInfo^ CopyTo(
	String^ destFileName, 
	bool overwrite
)

Parameters

destFileName
Type: System..::..String
Destination path.
overwrite
Type: System..::..Boolean
If true, any existing file will be overwritten.

Return Value

A new C1FileInfo for the destination file.

See Also