/tʰeɪk eː liːf ɵut ʌv ˈsʌmwʌnz bʊk/
Imitate someone's good behavior.
“She should take a leaf out of her sister's book.”