Create a copy of the given buffer. This will make a newly allocated copy of the data the source buffer contains.
Return: a new copy of @buf.
1.6
See Implementation
Create a copy of the given buffer. This will make a newly allocated copy of the data the source buffer contains.
Return: a new copy of @buf.