Solved by albanD in post #2 
              
              
                Hi, 
.copy_() will not change the contiguity of any Tensor. 
It will just read the content from b and write it to a. Not changing the size/strides.