Answer:
I think you're referring to camouflage - where a (usually harmless) animal mimics a dangerous one by copying their colours. One example would be a banded king snake - a harmless reptile. It has hoops of red, black and yellow along the length of its body - which is the same as the venomous coral snake. The colours are the same - but in a different order.