docs: public static long copy(URL url, File baseDir, String fileName) throws FileNotFoundException, IOException, IllegalArgumentException
    {
      Params.notNull(url, "Source URL");
      URLConnection connection = url.openConnection();
      connection.setDoInput(true);
      // copy method takes care to close both streams so there is no need to handle here URL connection close
      return copy(connection.getInputStream(), new FileOutputStream(new File(baseDir, fileName)));
    }