To follow the same path as someone; to take actions similar to another's.
take a leaf out of someone's book
verb
To adopt an idea or practice of another person.
How often have the words follow in someone's footsteps and take a leaf out of someone's book occurred in a corpus of books? (source: Google Ngram Viewer )