What is the primary role of kāf in «زَيْدٌ كَالْأَسَدِ»?

Multiple Points of Resemblance, Ironic Contrast and Simile Markers