Explicit examples of the WSH technique follows:
*:* Copy Directory/Folder
ofs=createobject("scripting.filesystemobject"

ofs.copyfolder('c:\foldername','c:\newfoldername')
*:* Copy Files
* lcfiles is a file name with or without wildcards
* lcdir is the target directory
oShell = CREATEOBJECT('Shell.Application')
oFolder = oShell.Application.Namespace(lcdir)
oFolder.CopyHere(lcfiles)
Additionally, you can specify parameters that control how the dialog operates for example pass FOF_NOCONFIRMATION (0x10) so that a confirmation dialog doesn't appear if a file with the same name exists in the target directory. The constants are mentioned in SHFILEOPSTRUCT topic and the values can be found in Shlobj.h in the VC++ Include sub-directory.
Rick