copy method, actually fixed stackoverflowerror