I think this needs to be `recordCopy = this.typeSerializer.copy(record, recordCopy);`