The only way you could trade from a GBA cartridge to another GBA cartridge is by using a link cable to Connect two GBA's - DS wireless only functions with DS games, which have these wireless connection capabilities programmed in. If you're worried that the pokemon on the GBA cartridge will be forgotten, you can use the Pal Park in the DS games. Unfortunately, you can't trade GBA games with a DS alone.