fixed a bug - removed delay from copy function