Fixed strange bug with `strcpy`

Changed to `sprintf`