Duplicate Line Items

I want to duplicate the whole line items on quotes module. I try to copy the array on vardefs.php and on editviewsdefs.php but the field stay empty on edit view page!
Someone can help me?