I wrote a small Java application filtering all non-zero Z-coordinates out of a dxf. It seems that the Z coordinate of pasted entities are moved in Z direction half of the old maximum Z value (maximum Z in file is 27.359994528, copied lines have Z==0, pasted lines have Z==-13.679997).