Changed copy_cost conditions to be more sensible