From the Merriam-Webster, the technical term would be:
to assume or act the character of
IMPERSONATE, PLAY, and ACT mean to pretend to be somebody else. IMPERSONATE is used when someone tries to look and sound like another person as much as possible. You're good at impersonating celebrities. PLAY is used when someone takes a part in ...