The movie is called The Internship and it's set to be released Jun 7.
From Entertainment Weekly:
The Internship has the duo playing Nick and Billy, a pair of down-on-their-luck salesmen who find themselves out of a job when their company shuts down. Desperate, they apply for and attain internships at Google — only to find themselves competing against a gaggle of brilliant 20-somethings for a handful of full-time positions. The Office‘s B.J. Novak, The Daily Show‘s Aasif Mandvi, and Bridesmaids‘s Rose Byrne co-star; Date Night‘s Shawn Levy directed.
By the way, here are the real internships available at the company.