copy_ws function

Copy a WS