implemented code gen for copying; comparison needs a materializer that works on a RecordBatchLoader