California Split (1974)

When a casual gambler (George Segal as Bill) befriends a professional one (Elliott Gould as Charlie), he begins to mirror his life, sending both deeper into the sleazy gambling world where the stakes keep getting bigger.