Added function vector_template_from_data_memcpy()