I took the water bottle out of the backpack so that *it* would be handy.

Are "it" and "the water bottle" the same thing in the aforementioned sentence?
yes