Writes all of our bytes to the target DataOutput.
Copies bytes from this store to a target byte array.