``` val stack1 = ItemStack(1, 2) val stack2 = stac...
# getting-started
c
Copy code
val stack1 = ItemStack(1, 2)
val stack2 = stack1.copy(id = 2)