For 4 days, Ivy consumes 2.5 x 4 = <<2.5*4=10>>10 liters of water.
So Ivy should buy 10/2 = <<10/2=5>>5 bottles of 2-liter water.
#### 5