Yeah, the best thing to do is brew the day you plan on racking. For a 5 gallon brew, a cup or so of yeast slurry is plenty. While you are brewing the new beer, rack the other one to secondary or keg or wherever you put it, but save a cup or so in the bottom to swirl the yeast into suspension. Pour off excess yeast, keeping the fermenter sanitized, and then after brewing rack the new beer right on the yeast. Plan on going from lighter to darker in color and lower to stronger in alcohol. You don't want dark yeast from a stout to color your blonde, or the tired yeast from a barleywine to try to ferment your pale ale.