The way `copyRecursively` is implemented currently...
# stdlib
i
The way
copyRecursively
is implemented currently isn't suitable for your use case. It takes the relative path of each enumerated source file regarding to the File passed as the receiver and copies that source file to the same relative path regarding to the
target
. For a single file its path relative to itself is empty and that relative path being resolved on target produces the target itself. So that results in the single file being copied to the target, overwriting it.