How do I duplicate layers in draw.io?

I have built a diagram with different layers in draw.io. I want to copy one of these layers, but I don’t know how to do it. Can you help me?

Hi there. Sure, no problem. First, make sure that the layer panel is visible (see Menu > View > Layers or Cmd+Shift+L ). In the layer panel, select the layer you want to duplicate and go to the bottom toolbar. Choose the second icon from the right (a square with a plus sign and another square behind it). Click on the icon and the layer will be copied. Duplicated layers are always placed at the top of the layer order. However, you can change the order anytime (siehe How can I change the order of draw.io layers?). There is a dedicated video to your question and a Youtube playlist that covers all available layer features, so always feel free to visit our Youtube channel.