Removing string functions and using memcpy with static lengths to avoid string methods that seek for null terminator.