Copy all the files and sub directories in a new folder. Read only file will be replaced with the new
one.
Namespace:
Devolutions.UtilsAssembly: Devolutions.Utils (in Devolutions.Utils.dll)
Syntax
| Visual Basic |
|---|
Public Shared Function CopyFiles ( _ sourceFileOrDirectoryPath As String, _ destinationFileOrDirectoryPath As String _ ) As Boolean |
| C# |
|---|
public static bool CopyFiles( string sourceFileOrDirectoryPath, string destinationFileOrDirectoryPath ) |
Parameters
- sourceFileOrDirectoryPath
- Type: System..::..String
- destinationFileOrDirectoryPath
- Type: System..::..String