Fixed a bug in recursive copyTo.

There was a bug in copyTo method for recursive copy when:
dest.exists == true && f.isFile == false with overwrite and recursive set to true. Fold operation was using filename from the root source directory for all copied children causing exceptions in same cases.