You need to research Long Distance Jumps, it's in different positions in each race's Civilian tech trees. Then just show your ships to move to the other star by right clicking as usual, and they'll go there

You can only jump from a star to a star (with the exception of wormholes), so they'll move to your star and then jump out