copy arrays by assignment