 This is an example of modulation.In rock and popular music some pieces change back and forth, or modulate, between two keys.Examples of this include Fleetwood Mac's "Dreams" and The Rolling Stones' "Under My Thumb".