Structure copy function source code generator for C