copyDirectory

fun copyDirectory(source: Path, target: Path)

Copy directory recursively, including POSIX file permissions.