Add required headers for memcpy
Add readlaz example, IO optimizations