copy.attributes function

Copy attributes between two data frames