You can put an enchanted item and a book into the grindstone, and you will get the enchantments onto the book (and your unenchanted item back).