Just copy the file.
Qt Code:
  1. QSettings settings;
  2. //...
  3. QFile::copy(settings.fileName(), "someotherplace");
To copy to clipboard, switch view to plain text mode