"I know (it) like the back of my hand." The meaning of the phrase is clear but I am interested in the derivation or origin.