copyTo

fun copyTo(root: String, dir: Path)

Copies all resources with root as a prefix to the directory dir.