copyPath(srcFile, dstPath);
System.out.println("Copied " + srcFile.getPath() + " to " + dstPath);
}
private void copyPath(File src, TachyonURI dstPath) throws IOException {
try {
<BUG>if (!src.isDirectory()) {
TachyonFile fd = mTfs.openIfExists(dstPath);
if (fd != null) {
FileInfo tFile = mTfs.getInfo(fd);
if (tFile.isFolder) {</BUG>
dstPath = dstPath.join(src.getName());

copyPath(srcFile, dstPath);
System.out.println("Copied " + srcFile.getPath() + " to " + dstPath);
}
private void copyPath(File src, TachyonURI dstPath) throws IOException {
try {
if (!src.isDirectory()) {
if (mTfs.exists(dstPath) && mTfs.getStatus(dstPath).isFolder()) {
