"All the world is a stage, but the play is badly cast."

its a simile write? or is that a metaphor??

It's not a simile because the words "like" or "as" aren't used.

http://www.dailywritingtips.com/what-is-the-difference-between-metaphor-and-simile/