lock-step

noun

1.
a manner of marching in file in which each person's leg moves with and behind the corresponding leg of the person ahead
2.
copying (or trying to copy) the actions of someone else