How to convert csv file to excel with the precaution it can not be corrupted in uipath.
The most reliable way to do it would be,
use a read csv activity to read the data
and use a write range activity to write the data onto an excel file.
Use read csv to read the data as a datatable. Then write the datatable to a new excel using write range.