In Batesian mimicry an organism appears or sounds like another more dangerous prey so that predators avoid it. The mimic does actually share the same dangerous or unpalatable traits as the model and need not even be entirely indistinguishable to be successful, thus the name "imperfect."
The mimic octopus can copy a number of dangerous species although not exactly to avoid predation
Most intelligent mimic octopus in the world (with sub)[Web]. (2010). Retrieved from http://www.youtube.com/watch?v=t-LTWFnGmeg
Sherrat, T. N. (2002). The evolution of imperfect mimicry.Behavioral Ecology, 13(6), 821-826.