code: public static long copyUrl(OutputStream dst, URL src) throws IOException {
  		long copied;
  
  		try (InputStream srcStream = src.openStream()) {
  			copied = copyStream(dst, srcStream);
  		}
  		return copied;
  	}
docs: Copies all bytes from a {@linkplain URL} to an {@linkplain OutputStream}.
  
  @param dst the {@linkplain OutputStream} to copy to.
  @param src the {@linkplain URL} to copy from.
  @return the number of copied bytes.
  @throws IOException if an I/O error occurs.