Sorry but this thread doesn't belong here. It belongs over in the Diamond, Pearl and Platinum forum. However, there is a FAQ stuck to the top of that forum which shows you how to clone in the game. As for Action Replay, there is a thread in General Pokémon Gaming that should list the code you need to clone.
Locked