How to auto populate custom child table in Sales Order from Quotation?


I made a child table in the Quotation doctype called “lines” with the fields “description”, “qty”, “uom”, “rate”, “amount”.

I made the exact same child table in the Sales Order doctype and I would like it to fill automatically with the values in the “lines” table from Quotation when I create a new sales order from a quotation. How do I do this?