Thousands of rare books destined for Oamaru collection