code: public static void downloadFile(final String fileUrl, final String localFile) throws IOException {
  		final URL url = new URL(fileUrl);
  		final HttpURLConnection connection = (HttpURLConnection) url.openConnection();
  		final byte[] data = JKIOUtil.readStream(connection.getInputStream());
  		JKIOUtil.writeBytesToFile(data, localFile);
  	}
docs: Download file.
  
  @param fileUrl   the file url
  @param localFile the local file
  @throws IOException Signals that an I/O exception has occurred.