added copyFolder()