code: public void copy(File path) {
          FileFilter filter = new FileFilter() {
              @Override
              public boolean accept(File file) {
                  return (!config.getAssetIgnoreHidden() || !file.isHidden()) && (file.isFile() || FileUtil.directoryOnlyIfNotIgnored(file));
              }
          };
          copy(path, config.getDestinationFolder(), filter);
      }
docs: Copy all files from supplied path.
  
  @param path The starting path