code: public static void copyDefaultResources(Path configPath) throws IOException {
          Path targetResourceDir = configPath.resolve("_default");
  
          for (String filename : MAPPING_RESOURCES) {
              Path target = targetResourceDir.resolve(filename);
              if (Files.exists(target)) {
                  logger.debug("Mapping [{}] already exists", filename);
              } else {
                  logger.debug("Copying [{}]...", filename);
                  copyResourceFile(CLASSPATH_RESOURCES_ROOT + filename, target);
              }
          }
      }
docs: Copy default resources files which are available as project resources under
  fr.pilato.elasticsearch.crawler.fs._default package to a given configuration path
  under a _default sub directory.
  @param configPath The config path which is by default .fscrawler
  @throws IOException If copying does not work