copys correctly