A rectangle that measures 16 feet by 4 feet has the same area as a square that measures 8 feet on each side. What is the difference in their perimeters?