I always thought the library was destroyed by Caesar....
Well, it was. Oops! Cleopatra was not ammused. But, not completely and permanently. It was rebuilt. No doubt much was lost during that first major destruction. But, probably not as much as we might imagine. The larger Greco-Roman world around the Mediterranean had many libraries preserving the same texts.