Clicking to copying a code snippet provides no feedback the copy was successful, so it's not clear whether it actually copied or not. After updating the clipboard Kagi should display some form of feedback that the code was copied.
This is the button in question: