In a geometry class, students are exploring different 3-dimensional shapes. They are specifically focused on the characteristics of a cube and a rectangular prism. A cube has all edges of equal length, while a rectangular prism has opposite faces that are equal. If a cube has a volume of 64 cubic centimeters, what is the volume of a rectangular prism that has dimensions of length 4 cm, width 4 cm, and height 4 cm?