How can you trade pokemon?

You can trade pokemon on the second floor in the pokecenter. If you are using emulator in that case you will need also VBALink. You can download it from the official site. Read instructions and so on