To act the part of

to take the character of; to fulfill the duties of.

See also: Act