"To toast the coconut" means to bake or cook shredded or flaked coconut in an oven or on a stove until it turns crispy and slightly brown.