They are different commands that do similar things. You can get the details in the man pages (sections 1 and 1b).
Most of the tools in /usr/ucb are there as tools compatible with BSD versions of unix (including the older SunOS 4.x releases) as opposed to the SYSV utilities that Solaris 2.x is based on.
--
Darren