The Xbox PC app makes it easy to move games to a new folder or a separate drive by essentially doing the job for you. All you have to do is tell it where to redirect your games.
All Epic games are installed in the Epic Games folder by default ... click on the Browse button and select another drive on your computer. Now, click on the Install button. I hope this helps.