What do you mean by duplicate a record?
I would like to create a copy of the record I am going to update containing the values before the change. This is because I need to keep the history of all the changes made to the records of the entire application.
Again, can't you just use the column values provided by the event and do whatever you want?
You can get it directly from the entity being inserted:
Thanks for the tip!