Added copy()-method, changed visibility of methods