lval_copy to create a copy of the same lval