What is the meaning of Understudy?

To study or know a role to such an extent as to be able to replace the normal performer when required.

To act as an understudy (to someone).

To act in a similar manner to some known person.

A performer who understudies; a standby.

Source: wiktionary.org