How to Convert an InputStream to a Byte Array in Java | CodeTrail