Allocates a new buffer of a given length and initializes its contents by copying existing data into it.
See Implementation
Allocates a new buffer of a given length and initializes its contents by copying existing data into it.