There are a few different ways to duplicate layers in Photoshop. The first way is to right-click on the layer you want to duplicate in the Layers panel and select Duplicate Layer. This will create an exact copy of the layer you selected.
Another way to duplicate a layer is to drag it onto the New Layer icon at the bottom of the Layers panel. This will also create an exact copy of the layer you selected.
You can also duplicate a layer by selecting it in the Layers panel and pressing Ctrl+J (Windows) / Command+J (Mac). This is the shortcut for the Duplicate Layer command.
Finally, you can select multiple layers in the Layers panel and press Ctrl+J (Windows) / Command+J (Mac) to duplicate all of them at once.
Conclusion:
There are several ways that you can duplicate layers in Photoshop. You can do it by right-clicking on the layer and selecting Duplicate Layer, dragging it onto the New Layer icon, selecting it and pressing Ctrl + J, or by selecting multiple layers and pressing Ctrl + J.