Copy and rename arrays to header file