question: public static void writeBinaryFile ( final File file , final byte [ ] data ) throws IOException { try ( FileOutputStream fos = new FileOutputStream ( file ) ) { fos . write ( data ) ; } }
target:  Writes a byte array to a binary file.