Moo_FolderCopy  -  Copy a folder.

Moo_FolderCopy ( sSource; sDestination );

This functions lets you copy a folder.


sSourceStringYes The input folder to be copied.
sDestinationStringYes Where should the folder be copied to.

Return Value

Returns either a boolean value of true if the folder copy succeeded, or an error code.


Error CodeDescription
Moo_FolderCopy|Err_1Invalid number of arguments.
Moo_FolderCopy|Err_2Invalid source folder input.
Moo_FolderCopy|Err_3Source folder does not exist.
Moo_FolderCopy|Err_4Invalid destination folder input.
Moo_FolderCopy|Err_5Destination folder already exists.
Moo_FolderCopy|Err_6Error copying folder.

Related Functions