_copy

func _copy(from: RawPtr, to: RawPtr, length: Int) 'alloc -> Void

Copies length raw bytes with memmove-style overlap semantics.

Both ranges must lie within live allocations. This is a byte copy: it does not retain embedded owners or establish typed initialization by itself.

View Source
pub func _copy(from: RawPtr, to: RawPtr, length: Int) 'alloc -> Void {
	#_ir(from, to, length) { copy Byte $0 $1 $2 }
}