code: public static boolean copy(FileSystem srcFS, Path src, 
                               File dst, boolean deleteSource,
                               Configuration conf) throws IOException {
      return copy(srcFS, src, dst, deleteSource, conf, false, 0L);
    }
docs: Copy FileSystem files to local files.