fixed bug with duplicating J and ksp in CopyMode