Copy the according file from another project (i.e. XCSoar). This will allow copying more code more easily.
Attach a file by drag & drop or click to upload