So do you mean that you used Move feature to move an epic and you made it a sub-task under a story associated with another epic? You should be able to use Move to change the sup-task to a Story and then edit the story and add the epic link to the desired epic.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events