copy all variables