Dictionary.com
Thesaurus.com

take a leaf out of someone's book

Idioms  
  1. Imitate or follow someone's example, as in Harriet took a leaf out of her mother's book and began to keep track of how much money she was spending on food. This idiom alludes to tearing a page from a book. [c. 1800]