correct data is copied