remove duplicate error check

it's unlikely that we get errors from data we just flushed
pass buffer directly to Write and reuse it
test with more data that will actually flush the buffer
update COPY FROM documentation