This is a scene from the great film noir classic Double Indemnity, screenplay by Billy Wilder and Raymond Chandler.
I gotta say, I love this witty repartee. Now let's get real - I would bet a paycheck (right now that equals about zero, but nevertheless...) that people never talked like this, even back in those noir days of the late 40's/early 50's. Clever dialog like this just doesn't happen in real life. But wouldn't it be great if it did?