Casey's General Stores, the US c-store retailer that fought off a takeover attempt from Canadian rival Couche-Tard, is to buy 19 stores in Illinois from Harper Oil Co.