Filled water bottles as well as other types of liquid containers are allowed on a plane if they are smaller than 3.4 ounces (100 ml) or if they were bought after you passed the security.
Note that even if your bottle is bigger than 3.4 ounces but the liquid inside of it is less than this amount, you will still have to empty it first, before going through the security checkpoint.