Copies the files matching the specified globs from one directory to another, creating subdirectories and overwriting existing files as needed.
public static void CopyFiles(string fromDirectory, string toDirectory, params string[] globs)
parameter | description |
---|---|
fromDirectory | The source directory. |
toDirectory | The target directory. |
globs | The globs to match. Use "**" to copy all files and directories. |