CREATE TABLE newSchema.newTable AS TABLE oldSchema.oldTable;
ALTER TABLE oldschema.table SET SCHEMA newschema;