copypaste bugfix

Fixed: Copy/Paste will now copy actual tables, instead of duplicating
references to a single table in a manner that breaks everything