Moved the copy task to after replace in grunt