Ice Age and Transformers, starring Shia LaBeouf and Megan Fox (pictured), tied at the box office over the long July 4th weekend in one of the closest finishes ever. (Photo: WENN)

1. Ice Age: Dawn of the Dinosaurs, $42.5 million

1. Transformers: Revenge of the Fallen, $42.5 million.

3. Public Enemies, $26.2 million

4. The Proposal, $12.8 million

5. The Hangover, $10.4 million

6. Up, $6.6 million

7. My Sister's Keeper, $5.3 million

8. The Taking of Pelham 1 2 3, $2.5 million

9 (tie). Year One, $2.1 million

9. (tie) Night at the Museum: Battle of the Smithsonian, $2.1 million