The correct option is
B Both A and B
Mimicry is a biological phenomenon characterized by the superficial resemblance of two or more organisms that are not closely related taxonomically. This resemblance confers an advantage, such as concealment from prey and predator—upon one or both organisms by which the organisms deceive the animate agent of natural selection.
So, the correct option is 'Both A and B'.