Added method to move or copy objects