add utils.copy objects method