add copy from reader to writer