Function to copy a folder to another location. This function is the equivalent of the method .copy()
var folder = new Folder('C:/myfolder'); var newfolder = new Folder('C:/myfolder2'); copyFolder(folder, newfolder);
Parameter | Data type | Required | Description |
---|---|---|---|
srcFolder | folder object | True | The source folder |
tarFolder | folder object | True | The target folder |
This method has no return values.