Add API to copy a window

Change-Id: I9bb5209010db6665be4b6f8db81a6fc1b7debc45
10 files changed