seperate implementation of copy in StateMatrix<Row/Col Major