Version: v0.8.1 - Beta.  We welcome contributors & feedback.

File.copyDir

$dir.copyDir($toDir) -> null

Description

Copy a directory and all of its contents (including subfolders, recursively).

$fromDir = dir'files:/some/source'
$toDir   = dir'files:/some/target'

$fromDir.copyDir($toDir)

See Also