copyFrom

fun copyFrom(from: Map<String, NBT>): MutableNBTCompound
fun copyFrom(from: NBTCompoundLike): MutableNBTCompound

Replaces all the contents of the compound with the given tags