Does the Nintendo DS action replay save the codes when you insert it into another DS?

All the codes are stored on the Action Replay itelf, so it will function the same no matter which DS you use it on.