copying scalars