#!/bin/sh

for outfile in *.ref
  do cp ${outfile%.ref}.out $outfile
done
