replaced datacopy with nocopy keyword