question: byte [ ] concatenateByteArrays ( byte [ ] ... byteArrays ) throws IOException { ByteArrayOutputStream outputStream = new ByteArrayOutputStream ( ) ; for ( byte [ ] array : byteArrays ) { outputStream . write ( array ) ; } return outputStream . toByteArray ( ) ; }
target:  Concatenates multiple byteArrays into one byte[]