public function copy($copyname) { global $user; $copy = self::create($copyname); Snapshot::copy($this, $copy); return $copy; }