this restaurant has a dessert on the menu called 'baked cookie dough'... now I'm no genius, but ain't that a fuckin cookie??
The humor in this meme comes from the fact that 'baked cookie dough' is essentially the definition of a cookie, which makes the menu description seem redundant and humorous by pointing out the obvious in a sarcastic tone.