ref: caa2cd99e469f598d19a03f2ba4d3c23c6e9d6f5
dir: /lib/std/slcp.myr/
use "die"
use "types"
use "memops"
pkg std =
generic slcp : (a : @a[:], b : @a[:] -> void)
;;
generic slcp = {a : @a[:], b : @a[:]
iassert(a.len == b.len, "arguments to slcp() must be of equal length\n")
memblit(a castto(byte#), b castto(byte#), a.len * sizeof(@a))
}