Refactoring code, You don't need to memcpy into a struct when you just
want to present a certain piece of memory as a struct

Please enter the commit message for your changes. Lines starting