After the Sunset (2004)
After the Sunset is a 2004 action comedy film starring Pierce Brosnan as Max Burdett, a master thief caught in a cat-and-mouse game with FBI agent Stan Lloyd played by Woody Harrelson. The film was directed by Brett Ratner and shot in the Bahamas.
More at Wikipedia.