Adding RowCopier functionality and fixing small bugs in writes and reads