It's a misconception that the mimics are hunting humans when they trail along at the back of hiking groups.
In fact, the creature you'll find suddenly walking beside you and acting as if they've always been there is almost certainly a juvenile, as the adults lose the ability when they reach reproductive age.
Recent studies suggest the forest mimic is less like a preying mantis (mimicry as a hunting strategy) and more like a cuckoo (mimicry as a protective strategy for their young). Adult forest mimics will leave their offspring near a group of hikers while they forage during the day, and retrieve them near trailheads in the evening. Groups of hikers provide safety from predators and allow the parents of the species the freedom to forage more widely.
For this reason, the traditional advice to never let a mimic into your vehicle is still very important, as this would separate the young mimic from its mother. If a juvenile forest mimic does follow your group to the parking lot, you can keep it entertained with trail snacks, dad jokes, and simple goofs. The mother will usually collect them shortly before sunset.
When you notice the woods around the trailhead go silent and feel a sense of nameless foreboding, find an excuse to avert your attention from the juvenile so it can sneak back into the forest to rejoin its mother, convinced it's fooled another party of unsuspecting humans.