Fire officials say the five are in good to stable condition and are expected to be released soon.
More than 170 firefighters were battling the blaze Wednesday when the roof collapsed. Officials say the vacant building was more than 50 years old.
Fire Commissioner Robert Hoff says preliminary evidence suggests the fire was not the cause of the roof's collapse.
He says fire appeared to have been contained to an office at the back of the building. There's no word on the cause of the fire.
Firefighters say they treated the blaze carefully in case squatters had started the fire and were trapped inside. Hoff says no one was found.
DO YOU HAVE PHOTOS OR VIDEOS TO ADD TO THIS STORY? CLICK HERE TO UPLOAD THEM TO IWITNESS.7ONLINE.COM, OR E-MAIL THEM TO IWITNESS@WABC.COM