No idea either. But for the copy/paste of layers, if you enable the "Allow assignment of unique numeric IDs for sharing web layer" before you paste it, it will automatically update the layer ID to a unique value. Without this checked, it will retain the value of the layer being copied.
RhettZufelt_0-1678977783727.png
R_