Firstly, you have to go into your file explorer or whatever, go to the place where the file you want to replace is
Then rename it to the one you want to swap


Then you can cut the file to the folder where the file is and just delete the file that was already there
