One of the techniques often cited, when dealing with the ubiquitous ii-V7-I chord progression, is transposing a phrase from the ii chord up a minor 3rd to the V7.
This is sometimes referred to as the ACE method, which defines the ii and V7 chords in terms of their Melodic Minor "keys" and can resolve either to a third Melodic Minor tonic (i) chord, or to Major, as it does in our case here.