Added function body to getHeader

getHeader was missing a function body
Should either be `strncpy()` or `memcpy()`.  Preferably `memcpy()` since it is more efficient.