How can someone translate Gameshark codes into Action Replay codes?

I noticed on my watch-list that someone asked a question and said it was the same as this, yet it wasn't. You can't use any gameshark codes without a gameshark or any Action Replay codes without an Action Replay. PS. This answer was from the person who first asked this question, Wro