"All the world's a stage" is a saying that draws a parallel between two totally different concepts: reality and drama. This type of comparison, made popular by a group of seventeenth century poets, is called:
metamorphosis.
metacognition.
metaphysical conceit.
metaphor.
metaphysical poets.