You may choose a new target for the spell. All attack rolls, feat saves, and other dice rolls or effects are re-rolled or re-calculated as if the spell was cast on the new target. The range of the spell remains unchanged, but is calculated from the new target instead of from you.
Note: If the spell was heightened, or you spent any other costs on the spell, those remain unchanged and do not need to be re-spent.