Beyond copying: unpacking "mimicry" vs "imitation"

What is similar?
Both mimicry and imitation involve replication or copying behavior, actions, or characteristics of something else.
What is different?
Mimicry often refers to a biological process where an organism resembles another for survival benefits. Imitation is generally broader, involving the act of copying someone's behaviors, expressions, or actions, often seen in social learning contexts.
Which one is more common?

Examples of usage
Mimicry- The butterfly's mimicry of toxic species helps it avoid predators.
- In nature, mimicry can be a powerful tool for survival.
- Children learn many behaviors through imitation of adults.
- His imitation of the famous comedian was spot-on.