imitating someone’s actions or behavior, often in a way that is not sincere or is mocking
“He was apeing his teacher’s mannerisms to make his friends laugh.”