Initial workspace copy API implementation

Signed-off-by: Álvaro Arranz <aarranz@conwet.com>