take a page out of (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 page out of 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 page out of our older boy's book.