The British Library, by the law of the United Kingdom, receives copies of every book that is published in the United Kingdom and the Republic of Ireland, including all foreign books that are sold in the UK. It also buys many books which are only published outside Britain and Ireland. The British Library adds about three million items to its collection every year. The British Library has about 388 miles (625 km) of shelves. 