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 that order anytime (see How can I change the order of draw.io layers?). There’s a dedicated video to answer your question below as well as a Youtube playlist that covers all available layer features, so check out our Youtube channel for all of the info.