How can I copy a datatable to a new excel file

For example I got this file.xlsm which contains data.

I want to copy that data to another file (file2.xlsm) in UiPath

Hi @ahmadLH read the excel file (file.xlsm) using read range (Excel activities) and store in datatable and use write range to write the datatable to file2.xlsm

Or another way is

Use copy file activity to copy file renaming destination file as file2.xlsm

Hope it helps you

Nived N
Happy Automation