You can back up your site, and then move it into the folder of the new domain name once it’s added to InfinityFree.
Then since you’re using WordPress, you’ll have to change the URL in your WordPress configuration.
If it were a static site you could do this by just adding the .com domain as a parked domain, but since you’re using WordPress it’s far easier and safer to fully migrate it to the new URL.