Added back CopyTo and added unit test