Added copyInPlace.js