modification of copy-table and copy-bucket commands