Removes byteCount bytes from source and appends them to this sink.
the source to read data from.
the number of bytes to write.
when the source's size is below byteCount or byteCount is negative.
when the sink is closed.
when some I/O error occurs.