adjust size and copy