Updated copyRawDataFrom