You can try this way,
Copy the file into another location

here “D:\Testing_Purpose\DT1.xlsx” → Change your filepath
"D:\Testing_Purpose\New folder (2)" → Mention your folder path
Then use the rename the file activity

here “D:\Testing_Purpose\New folder (2)\DT1.xlsx” → Mention the copy file location
Path.GetFileNameWithoutExtension(“D:\Testing_Purpose\New folder (2)\DT1.xlsx”) → Change the file path of yours
So it will save the file without extension same name
Regards,
Gowtham K