How do you trade Pokemon in Pokemon XD?

After beating Grand Master Greevil go to the city with all the rivers and fountains. Name that's out of my reach DDDUHHH anyways go to the PC and go downstais and link up with a friend with a GBA + cord and you can trade.