What is the role of kāf in “al-waraq ka-l-harir”?

Ilm al-Bayan and Simile: Definition, Elements, Terms and Particles