Function

memcpy(_:_:_:)

Copies count elements from the object pointed to by source to the object pointed to by destination and returns destination.

Source
fun memcpy(
   _ destination: MemoryAddress,
   _ source: MemoryAddress,
   _ count: Int
) -> MemoryAddress

Details

Both objects are reinterpreted as buffers of Int8.

If the objects overlap, the behavior is undefined. If either source or destination is invalid or null, the behavior is undefined.