Parameters
- layer
- The layer to be copied
- container
- A layer container i.e. a map or another group layer where the layer will be copied to.
- index
- A 0-based index represents the position of the group layer within the container - 0 means it will added to the very top as the first layer in the container.