What do mimicry and camouflage have in common?

They are both designed to reduce the chances of being spotted by either predators or prey. Camouflage is used by prey to avoid being eaten, while mimicry is used by predators to disguise themselves so potential prey don't notice them until it's too late.