Fixed copy function, calculate depreciation value.