The correct answer is: a character who brings another character’s qualities into sharp focus.
In literature, a foil is a character who contrasts with another character, typically the main character, to highlight particular traits and qualities of the other character.