Fix for the "kind" issue

It seems that the problem was not within the SRAM memory but within
they way Tinq and the embedded board were doing the copy
(4 bytes instead of of 1). This fix makes sure that only the
kind is copied assuming that the parameter has only 255 options.