Writes the complete contents of this byte array output stream to
the specified output stream argument, as if by calling the output
stream's write method using <code>out.write(buf, 0, count)</code>.
@param out the output stream to which to write the data.
@exception IOException if an I/O error occurs.
Writes the complete contents of this byte array output stream to the specified output stream argument, as if by calling the output stream's write method using <code>out.write(buf, 0, count)</code>.
@param out the output stream to which to write the data. @exception IOException if an I/O error occurs.