In Tally.ERP 9 Software, you can export the entire data to a newly created company in the following ways:
Enter Gateway of Tally -> Display -> List of Accounts.
Click F12: Select the masters you want to export. Skip this step if you want to export all the masters.
Click E: Export in the List of Accounts screen.
Select Default Language as (All Languages) from the list that appears.
Select Format as XML (Data Interchange).
By default, Export Location is set to C: Tally.ERP 9. You can provide an export location of your choice.
The output file name is set to Master.XML by default or provide a filename of your choice.
Select All Masters in Type of Masters.