How do you trade Pokémon with yourself?

How do you trade Pokémon with yourself?