In Magento 2, when editing an order from the admin panel, Magento cancels the original order and creates a new one. I have added some custom fields to the sales_order table (these are not part of vanilla Magento).
Now I want to ensure that when an order is edited, my custom fields are transferred from the original order to the newly created one.
How can I properly copy these custom fields during the edit order flow?
What event or method should I hook into to achieve this?
Thanks in advance.