The following code uses memcpy to copy a block of memory from ptr to data. After that process, it adds a sizeof(uint8_t)
memcpy
ptr
data
sizeof(uint8_t)