The episode is Season 3, Episode 19: "Future Tense" (aired July 24, 2009).
Plot context: Juliet (Bridgit Mendler) has just had her vampire powers stripped by the Wizard Council. She visits Justin (David Henrie) at the substation and walks in on him apparently kissing a girl who looks exactly like her—revealed to be their future daughter (time-travel paradox). The "other girl" is Juliet herself, decades later.
It's a pivotal Ju-stin (Justin/Juliet) arc episode blending romance, time travel, and family destiny.