Ben Stiller and Jack Black team up in a comedy about envy that corrodes friendship. Though the script isn't perfect, it offers clever gags and life lessons to ponder.