teleporter device

Is there a tutorial out there on how to make a teleporter device that teleports a player behind or just to another player please help