For some companies, imitating the right rivals at the right time can be more effective—and lucrative—than attempting to chart an entirely new course.