function r8vec_copy_test ( )

%*****************************************************************************80
%
%% R8VEC_COPY_TEST tests R8VEC_COPY.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    08 February 2016
%
%  Author:
%
%    John Burkardt
%
  n = 5;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8VEC_COPY_TEST\n' );
  fprintf ( 1, '  R8VEC_COPY copies an R8VEC.\n' );
 
  a = r8vec_indicator1 ( n );
 
  r8vec_print ( n, a, '  Original array A:' );

  b = r8vec_copy ( n, a );

  r8vec_print ( n, b, '  Copied array B:' );
 
  return
end
