docs: public static int copy(Resource in, File out) throws IOException {
          assert in != null : "No input File specified";
          assert out != null : "No output File specified";
          return copy(new BufferedInputStream(in.getInputStream()),
              new BufferedOutputStream(Files.newOutputStream(out.toPath())));
      }