Allows to copy the given chunk, supposing that is a properly format C string that ends with a '\0' value.
This function allows to perform a copy for the given string. If a copy limited by a size is required, use axl_stream_strdup_n.