bug fix

Changed memcpy to copy data into buffer.
update readme

added notes section