A cone is filled to a height of 3 inches with a liquid. The liquid is then poured into an empty cylinder with the same height and same radius as the cone. What is the height reached by the liquid in the cylinder?