app/crypto-perf: use strcpy for allocated string