Dolphin Context menu: convert symlink to copy?

Hi, my use case is for for example Nextcloud or other occasions.

You have symlinks and you want to convert files or whole folders to copies instead. On Stackoverflow I read this command, but it doesnt seem to work for me:

cp --remove-destination `readlink FILENAME` FILENAME

Normally this should work right? Also, what would the command for doing that recursively be, to convert folders and subfolders?

I would like to create a context entry and publish that so everyone can use it, as it uses core utils.