Hi zosiaax127,
You're right, there's no .dupe command in Wurst versions for Minecraft 1.20.1. That's because .dupe was patched in the Minecraft 1.17.1 update.
For more details and a list of compatible versions, you can visit the .dupe page on the Wurst Wiki: https://wurst.wiki/cmd/dupe#compatibility
Hope this answers your question!