copy

abstract fun copy(): Memory

Creates an independent copy of this memory.