code: public static void copy(byte[] in, File out) throws IOException {
  		Assert.notNull(in, "No input byte array specified");
  		Assert.notNull(out, "No output File specified");
  		ByteArrayInputStream inStream = new ByteArrayInputStream(in);
  		OutputStream outStream = new BufferedOutputStream(new FileOutputStream(out));
  		copy(inStream, outStream);
  	}
docs: Copy the contents of the given byte array to the given output File.
  @param in the byte array to copy from
  @param out the file to copy to
  @throws IOException in case of I/O errors