Click or drag to resize

YStaticMethodsCopy Method

Copy a file or a directory.

Namespace: Upsilon.Common.Library
Assembly: Upsilon.Common.Library (in Upsilon.Common.Library.dll) Version: 2.2.2+14985a67b419f90e14e6b1bde61d18cf6cf12b27
Syntax
C#
public static void Copy(
	string sourcePath,
	string destinationDirectory,
	bool override = false,
	bool throwException = true
)

Parameters

sourcePath  String
The source path.
destinationDirectory  String
The directory where the copy will be save.
override  Boolean  (Optional)
Override the destination if already exists.
throwException  Boolean  (Optional)
Throw an exception when error occurs.
See Also