Harry and Walter Go to New York (1976)
Harry and Walter Go to New York is a 1976 American period comedy film written by John Byrum and Robert Kaufman, directed by Mark Rydell, and starring James Caan, Elliott Gould, Michael Caine, Diane Keaton, Charles Durning and Lesley Ann Warren. In the film, two down-on-their-luck con men try to pull off the biggest heist ever seen in late nineteenth century New York. They are opposed by the greatest bank robber of the day, and by a crusading newspaper editor.
More at Wikipedia.