Fixed bugs. Added repr for CopiedValue