if there's no transformation to the tensor and the input and output types match, copy directly into the writer. also read from a bufio with a 32K buffer