single line array copy