update size and copy