read the byte array out of the outputstream