Fix data copy routines

Bad pointer arithmetic was failing to take into account the sizeof float
so copies of data weren't happening correctly. Switched from pointer
arithmetic to array index manipulation
Outputs valid waveforms now, but still crashes inexplicably when more
than one export task is run