docs: public static void copyAll(Resource base, Resource[] resources, File targetDir) throws IOException {
          final URL baseUrl = base.getURL();
          for (Resource resource : resources) {
              final InputStream input = resource.getInputStream();
              final File target = new File(targetDir, resource.getURL().toString().substring(baseUrl.toString().length()));
              copy(new BufferedInputStream(input), new BufferedOutputStream(Files.newOutputStream(target.toPath())));
          }
      }