For instance I am reading Ab Urba Condita by Livy and I am interested how such a lengthy book was preserved after the fall of Rome. Was it copied down the ages by patrons?
Yes, it is through continuous copying that our ancient texts have survived. I can recommend some earlier answers about this: