
"to take a leaf out of someone's book" - means to act the way somebody else do, because you think it might be useful in a certain situation
Example: By driving the car without permission is like taking a leaf out of your elder brother's book but it is something that will only bring you troubles.