take a leaf from (someone's) book
To do something in the way someone else would do it; to behave or act like someone else. I think I'm going to take a leaf from your book and start going for a run first thing in the morning. Our youngest son was always very placid as a baby, but now that he's getting older, he's begun taking a leaf from our older boy's book.