ilya.gorbunov
04/03/2017, 10:56 PMcopy method as following (given that the first argument is always a relative path):
fun copy(relativePath: String, sourceDir: File, targetDir: File) =
sourceDir.resolve(relativePath).copyRecursively(targetDir.resolve(relativePath), overwrite = true)