docs: public static void copyFile(File from, File to) throws IOException {
          InputStream in = new BufferedInputStream(new FileInputStream(from));
          try {
              OutputStream out = new BufferedOutputStream(new FileOutputStream(to));
              try {
                  IoUtils.copyAllBytes(in, out);
              } finally {
                  IoUtils.safeClose(out);
              }
          } finally {
              IoUtils.safeClose(in);
          }
      }