I've watched one documentary about a Mimic octopus which they can imitate another animals in several form e.g. a Lion fish, a Sea snake, a Flatfish, etc. My question is how these octopuses can have these such skills? Imagine that they can not see themselves via a mirror but their imitation is so perfect.
What is a theory behind this?