Downshifting when overtaking gives more torque to the wheels than it would get if you maintained a higher gear. More torque gives you better acceleration and the overtaking maneuver will be accomplished quicker.